package com.gsm.dao;

import com.gsm.po.SysMenuRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单角色表(SysMenuRole)表数据库访问层
 *
 * @author wjq
 * @since 2020-11-25 18:11:15
 */
public interface SysMenuRoleDao {

    int insertSysMenuRole(SysMenuRole sysMenuRole);

    int insertSysMenuListByRoleId(List<SysMenuRole> list);

    int deleteSysMenuRoleByMenuRoleId(Long menuRoleId);

    int deleteSysMenuRoleByRoleId(Long roleId);

    int updateSysMenuRoleByMenuRoleId(SysMenuRole sysMenuRole);

    SysMenuRole selectSysMenuRoleByMenuRoleId(Long menuRoleId);

    List<SysMenuRole> selectSysMenuRoleList(SysMenuRole sysMenuRole);
}